<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
	
<script type="text/javascript">
	function closePopUp() {
		ISS.Popup.Windows.Hide_Modal();
	}
</script>

<div id='show_album'>
	<h3><?php echo html::specialchars($club_name); ?></h3>
	<table>
	<?php 
		$i = 0;
		foreach ($members as $row) { 
			$i++;
			if (($i % 2)==0) {
				echo '<tr  bgcolor="#C0C0C0">';			
			}
			else {
				echo '<tr  bgcolor="#FFFFFF">';
			}
			?>
				<td>
					<a href="#" class="member"><?php echo $i; ?></a>
					
				</td>
				<td>
					<a href="#" class="member"><?php echo html::specialchars($row['name']); ?></a>
				</td>
				<td>
					<?php 
						if (!empty($row['picture'])) { ?>
							<a href="#" class="member"><img alt="<?php echo html::specialchars($row['name']); ?>" src="<?php echo $row['picture'];?>" height="48"></a>
							
					<?php }
					?>
				</td>
				
			</tr>
			<?php 
		}
	?>
	</table>	
	<input type="button" id="close_show_members" onclick="closePopUp();" value="ปิด">
</div>
